Move muldiv64 out and make it as a public function.
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 24 Jun 2009 09:57:00 +0000 (10:57 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 24 Jun 2009 09:57:00 +0000 (10:57 +0100)
commitc764820ae6c300900aecc04dab691b14f4152f13
treeb105569caa7337be0fcb2db2b3d3acca66378455
parent448dac02973ea594c7d5a9ba31da3b6e3ae1ef2d
Move muldiv64 out and make it as a public function.

muldiv64 is used to caculate u64*u32/u32, and we
will use it for TSC scaling.

Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/arch/x86/hvm/i8254.c
xen/common/lib.c
xen/include/xen/lib.h